﻿using System.Collections.Generic;

namespace In.Api.Dto.HisWs
{
    public class GetDeptInfoResponse
    {
        /// <summary>
        ///     结果代码 0- 成功,其他值为失败
        /// </summary>
        public string ResultCode { get; set; }

        /// <summary>
        ///     结果描述 成功为空，失败时返回描述
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        ///     科室信息的集合
        /// </summary>
        public List<DeptInfo> DeptList { get; set; }

        public class DeptInfo
        {
            /// <summary>
            ///     科室代码
            /// </summary>
            public string DeptId { get; set; }

            /// <summary>
            ///     科室名称
            /// </summary>
            public string DeptName { get; set; }

            /// <summary>
            ///     科室所在位置
            /// </summary>
            public string Loc { get; set; }

            /// <summary>
            ///     上级科室代码,没有填-1
            /// </summary>
            public string ParentId { get; set; }

            /// <summary>
            ///     科室简介
            /// </summary>
            public string Desc { get; set; }
        }
    }
}